package com.yznmall.mall.service;

import com.yznmall.mall.dto.ProductCategoryExecution;
import com.yznmall.mall.entity.ProductCategory;
import com.yznmall.mall.exceptions.ProductCategoryOperationException;

import java.util.List;

public interface ProductCategoryService {
    List<ProductCategory> productCategoryList(Long shopId);
    /**
     *批量添加
     * @param productCategoryList
     * @return
     * @throws ProductCategoryOperationException
     */
    ProductCategoryExecution batchAddProductCategory(List<ProductCategory> productCategoryList)
            throws ProductCategoryOperationException;
}
